package gov.pbc.nn.kjgl.maintenance.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.bstek.dorado.annotation.PropertyDef;

import gov.pbc.nn.core.entity.BaseEntity;

@Entity
@Table(name = "T_SYS_CHANGE_CONTENT")
public class SysChangeContent extends BaseEntity {
	private static final long serialVersionUID = -7696145439692210926L;

	@Column(name = "CHANGE_ID_", length = 60)
	private String changeID;

	@Column(name = "CHANGE_CONTENT_", length = 1000)
	@PropertyDef(label = "变更内容")
	private String changeContent;

	@Column(name = "STATE_")
	@PropertyDef(label = "状态", description = "0：初始状态，1：提交状态：2：回退状态")
	private int state;

	public int getState() {
		return state;
	}

	public void setState(int state) {
		this.state = state;
	}

	public String getChangeID() {
		return changeID;
	}

	public void setChangeID(String changeID) {
		this.changeID = changeID;
	}

	public String getChangeContent() {
		return changeContent;
	}

	public void setChangeContent(String changeContent) {
		this.changeContent = changeContent;
	}

}
